package com.java.atm.Account;

import java.util.Date;

public class SavingAccount
{
    public halfYearAccount hya;
    public oneYearAccount oya;
    public fiveYearAccount fya;

    public SavingAccount(double hb, Date hdate, double ob, Date odate, double fb, Date fdate)
    {
        hya = new halfYearAccount(hb, hdate);
        oya = new oneYearAccount(ob, odate);
        fya = new fiveYearAccount(fb, fdate);
    }



}
